
package com.yxw.live_vod_facade.dto;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
//import lombok.EqualsAndHashCode;



/*** 
*@author Jiaxu.Huang
*@date 2023/12/5 16:32:47
*@update 2023/12/5 16:32:47
**/
@Data
//@EqualsAndHashCode(callSuper = true)
public class YxLiveShopPunishAddDTO implements Serializable
{
    private static final long serialVersionUID = 1165167159L;

    /**
    *店铺本地ID
    */
    @NotNull(message = "店铺本地ID不可为空")
    @ApiModelProperty(value = "店铺本地ID")
    private Long liveShopId;
    /**
    *店铺外部ID
    */
    //@ApiModelProperty(value = "店铺外部ID")
    //private String shopId;
    /**
    *店铺名称
    */
    //@NotBlank(message = "店铺名称不可为空")
    //@ApiModelProperty(value = "店铺名称")
    //private String shopName;
    /**
    *直播ID
    */
    @NotBlank(message = "直播ID不可为空")
    @ApiModelProperty(value = "直播ID")
    private String liveId;
    /**
    *商户ID
    */
    //@ApiModelProperty(value = "商户ID")
    //private String merchantId;
    /**
    *商户名称
    */
    //@NotBlank(message = "商户名称不可为空")
    //@ApiModelProperty(value = "商户名称")
    //private String merchantName;
    /**
    *违规Id
    */
    @NotNull(message = "违规Id不可为空")
    @ApiModelProperty(value = "违规Id")
    private Integer violationId;

    /**
    *处罚说明
    */
    @NotBlank(message = "处罚说明不可为空")
    @ApiModelProperty(value = "处罚说明")
    private String punishDescription;    
    /**
    *创建时间
    */
    @ApiModelProperty(value = "创建时间")
    private java.util.Date createTime;
    /**
    *将DTO转换为ENTITY
    
    public YxLiveShopPunishEntity ConverToEntity()
    {
        YxLiveShopPunishEntity oYxLiveShopPunishEntity = new YxLiveShopPunishEntity ();
        oYxLiveShopPunishEntity.setLiveShopId(liveShopId) ;
        oYxLiveShopPunishEntity.setShopId(shopId) ;
        oYxLiveShopPunishEntity.setShopName(shopName) ;
        oYxLiveShopPunishEntity.setLiveId(liveId) ;
        oYxLiveShopPunishEntity.setMerchantId(merchantId) ;
        oYxLiveShopPunishEntity.setMerchantName(merchantName) ;
        oYxLiveShopPunishEntity.setViolationId(violationId) ;
        oYxLiveShopPunishEntity.setPunishDescription(punishDescription);
        oYxLiveShopPunishEntity.setCreateTime(createTime) ;
        return oYxLiveShopPunishEntity;
    }
    */
}